package com.zdwl.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MainInfo {
    private String maininfoid;

    private String mainno;

    private String mainname;

    private String shortname;

    private Integer maintype;

    private Integer returndepartment1;

    private Integer returndepartment2;

    private Integer returnks1;

    private Integer returnks2;

    private String mainagent;

    private String mainlegalagent;

    private String registeredcapital;

    private String registeraddress;

    private String remark;

    private Integer state;

    private Integer area;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    private Integer delstate;

    public List<QualificationInfo> getList() {
        return list;
    }

    public void setList(List<QualificationInfo> list) {
        this.list = list;
    }

    private List<QualificationInfo> list = new ArrayList<>();

    public String getMaininfoid() {
        return maininfoid;
    }

    public void setMaininfoid(String maininfoid) {
        this.maininfoid = maininfoid == null ? null : maininfoid.trim();
    }

    public String getMainno() {
        return mainno;
    }

    public void setMainno(String mainno) {
        this.mainno = mainno == null ? null : mainno.trim();
    }

    public String getMainname() {
        return mainname;
    }

    public void setMainname(String mainname) {
        this.mainname = mainname == null ? null : mainname.trim();
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname == null ? null : shortname.trim();
    }

    public Integer getMaintype() {
        return maintype;
    }

    public void setMaintype(Integer maintype) {
        this.maintype = maintype;
    }

    public Integer getReturndepartment1() {
        return returndepartment1;
    }

    public void setReturndepartment1(Integer returndepartment1) {
        this.returndepartment1 = returndepartment1;
    }

    public Integer getReturndepartment2() {
        return returndepartment2;
    }

    public void setReturndepartment2(Integer returndepartment2) {
        this.returndepartment2 = returndepartment2;
    }

    public Integer getReturnks1() {
        return returnks1;
    }

    public void setReturnks1(Integer returnks1) {
        this.returnks1 = returnks1;
    }

    public Integer getReturnks2() {
        return returnks2;
    }

    public void setReturnks2(Integer returnks2) {
        this.returnks2 = returnks2;
    }

    public String getMainagent() {
        return mainagent;
    }

    public void setMainagent(String mainagent) {
        this.mainagent = mainagent == null ? null : mainagent.trim();
    }

    public String getMainlegalagent() {
        return mainlegalagent;
    }

    public void setMainlegalagent(String mainlegalagent) {
        this.mainlegalagent = mainlegalagent == null ? null : mainlegalagent.trim();
    }

    public String getRegisteredcapital() {
        return registeredcapital;
    }

    public void setRegisteredcapital(String registeredcapital) {
        this.registeredcapital = registeredcapital == null ? null : registeredcapital.trim();
    }

    public String getRegisteraddress() {
        return registeraddress;
    }

    public void setRegisteraddress(String registeraddress) {
        this.registeraddress = registeraddress == null ? null : registeraddress.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getDelstate() {
        return delstate;
    }

    public void setDelstate(Integer delstate) {
        this.delstate = delstate;
    }
}